<#include "/common/layout_dl.html">
<@header>
</@header>
<@body>
<form class="form-horizontal layui-form layui-form-pane" method="post" action="${base}/college/student/add">
	<input type="hidden" name="collegeId" value="${colegeId}">
   <div class="box-body">
     <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">姓名</label>
       <div class="col-sm-10">
      		<input type="text" id="name" name="name" class="form-control" placeholder="请输入姓名" lay-verify="required">
     	</div>
     </div>
	<div class="form-group">
     	  <label class="col-sm-2 control-label">性别</label>
          <div class="col-sm-10">
         <label>
             <input name="userState" type="radio" class="minimal" checked value="1" lay-ignore>&nbsp;男&nbsp;&nbsp;
            </label>
         <label>
             <input name="userState" type="radio" class="minimal"  value="0" lay-ignore>&nbsp;女
            </label>
          </div>
        </div>
       <div class="form-group">
	       <label for="uname" class="col-sm-2 control-label">出生日期</label>
	       <div class="col-sm-10">
	      		<input type="text" id="birthday" name="birthday" class="form-control" placeholder="请选择出生日期" lay-verify="required">
	     	</div>
	     </div>
	     
      <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">手机号</label>
       <div class="col-sm-10">
      		<input type="number" id="phone" name="phone" class="form-control" placeholder="请输入手机号码" lay-verify="required|phone|check" check-url="${base}/system/user/checkName">
     	</div>
     </div>
     
     <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">学校名称</label>
       <div class="col-sm-10">
      		<input type="text" id="schoolName" name="schoolName" class="form-control" placeholder="请输入学校名称" lay-verify="required">
     	</div>
     </div>
     
     <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">专业</label>
       <div class="col-sm-10">
      		<input type="text" id="major" name="major" class="form-control" placeholder="请输入专业" lay-verify="required">
     	</div>
     </div>
     
     <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">学历</label>
       <div class="col-sm-10">
      		<input type="text" id="edu" name="edu" class="form-control" placeholder="请输入学历" lay-verify="required">
     	</div>
     </div>
     
     <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">入校日期</label>
       <div class="col-sm-10">
      		<input type="text" id="startDate" name="startDate" class="form-control" placeholder="请选择入校日期" lay-verify="required">
     	</div>
     </div>
     
     <div class="form-group">
       <label for="uname" class="col-sm-2 control-label">离校日期</label>
       <div class="col-sm-10">
      		<input type="text" id="endDate" name="endDate" class="form-control" placeholder="请选择离校日期" lay-verify="required">
     	</div>
     </div>
     
     <div class="form-group">
         		<label class="col-sm-2 control-label">&nbsp;</label>
         		 <div class="col-sm-10">
         		 	<button type="submit" class="btn btn-success" lay-submit lay-filter="submit"><i class="fa fa-save"></i>  提 交</button>
   		  </div>
         </div>
     </div><!-- /.box-body -->
 </form>
</@body>
<@footer>
</@footer>
<script>
	
	layui.use('laydate', function(){
		var laydate = layui.laydate;
		laydate.render({
			 elem: '#birthday',value: '1999-01-01'
		});
		laydate.render({
			 elem: '#startDate'
		});
		laydate.render({
			 elem: '#endDate'
		});
	});
</script>